package com.kantboot.business.ac.domain.ao;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class YrApiProductTypeAO implements Serializable {

    /**
     * 产品类型id
     */
    @JSONField(ordinal = 1)
    private Long id;

    /**
     * 产品类型名称
     */
    @JSONField(ordinal = 3)
    private String typeName;

    /**
     * 产品类别
     */
    @JSONField(ordinal = 4)
    private List<YrApiProductTypeCategoryAO> cate;

    /**
     * 产品类型名称
     */
    @JSONField(ordinal = 5)
    private String type_name;

    public void setType_name(String type_name) {
        this.type_name = type_name;
        this.setTypeName(type_name);
    }
}
